package com.eat.fish_service.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AquariumMes对象", description = "")
public class AquariumMes {
    @ApiModelProperty(value = "鱼缸id")
    private Long id;

    @ApiModelProperty(value = "鱼的数量")
    private Integer fishNum;

    @ApiModelProperty(value = "逻辑删除  1：已删除， 0：未删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "表示为鱼缸负责人，值为某个管理员用户的id，用户鱼缸出现问题可以找这个负责人")
    private String charge;

    @ApiModelProperty(value = "鱼缸鱼的最大容量，默认为6，可修改")
    private Integer maxNum;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;

    @ApiModelProperty(value = "鱼缸的ip地址")
    private String ip;

    @ApiModelProperty(value = "鱼缸的端口号")
    private Integer port;

    @ApiModelProperty(value = "0：鱼缸系统的服务端未启动，1：已启动")
    private Integer isOpened;

    @ApiModelProperty(value = "该鱼缸是否被服务器连接？0未连接，1已连接")
    private Integer isConnected;
}
